﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using blackhouse.JavaScript.JQuery;

namespace blackhouse.JavaScript.Cufon {
	public class CufonLibraries : JQueryLibraries {

		public void IncludeCamilla() {
			this.IncludeFontFile("camilla");
		}

		public void IncludeFranklin() {
			this.IncludeFontFile("franklin-gothic-book");
		}

		private void IncludeFontFile(string font) {
			this.IncludeFileBasedOnJQuery("blackhouse.JavaScript.Cufon.cufon.js,blackhouse.JavaScript");
			this.IncludeFileBasedOnJQuery("blackhouse.JavaScript.Cufon." + font + ".js,blackhouse.JavaScript");
			this.IncludeJQueryFontAvalible();
		}

	}
}